########################################################################
#
#       ORIGIN:     FUYONG .
#       GROUP:      
#       PROJECT:    USED FOR GCC Makefile
#       DATE:       April 2009.
#       PURPOSE:    Standard application makefile
#                   
#       NOTE:       This include makefile assumes the source modules
#                   are organised into the linux directory structure.
#
#       $Revision: $
#       $Date: 7-Jan-2009.09:35:44 $ 
########################################################################
ifeq ($(CHIP_TYPE),HI3798MV200)

SHELL	= /bin/bash
MAKE = -make -C
CC = arm-histbv320-linux-gcc
AR = arm-histbv320-linux-ar rc
CPP     = arm-histbv310-linux-cpp

SOURCE_DIR      := $(SDK_DIR)/source
COMMON_DIR      := $(SOURCE_DIR)/common
MSP_DIR         := $(SOURCE_DIR)/msp
COMPONENT_DIR   := $(SOURCE_DIR)/component
SAMPLE_DIR      := $(SDK_DIR)/sample


MSP_UNF_INCLUDE     := $(MSP_DIR)/include
MSP_API_INCLUDE     := $(MSP_DIR)/api/include
MSP_DRV_INCLUDE     := $(MSP_DIR)/drv/include
COMMON_UNF_INCLUDE  := $(COMMON_DIR)/include
COMMON_API_INCLUDE  := $(COMMON_DIR)/api/include
COMMON_DRV_INCLUDE  := $(COMMON_DIR)/drv/include

INCLUDES = -I$(ROOT_DIR)/include \
					 -I$(ROOT_DIR)/plantform/Hi3798MV200/include \
					 -I$(ROOT_DIR)/app/include \
					 -I$(ROOT_DIR)/sta/include \
					 -I$(ROOT_DIR)/driver/include \
					 -I$(MSP_UNF_INCLUDE) \
					 -I$(MSP_API_INCLUDE) \
					 -I$(MSP_DRV_INCLUDE) \
					 -I$(COMMON_UNF_INCLUDE) \
					 -I$(COMMON_API_INCLUDE) \
					 -I$(COMMON_DRV_INCLUDE) 
					 
LIB_DIR =
LIBS =
CFLAGS =
C_SOURCE =
C_OBJECT =
VPATH =
CPPFLAGS =
CPP_SOURCE =
CPP_OBJECT =

include $(PROJECT_DIR)/config/hi3798mv200_config.mk
endif







######################config board setting##############################
include $(PROJECT_DIR)/config/board_config.mk
